/* Regular buttons */
button {
	width: auto;
	padding:0;
	border: 0;
	background:0;
	cursor:pointer;
	font-size: 12px;
	font-weight: bold;
	color: #333333;
	font-family: Arial, Helvetica, sans-serif;
	text-align:left;
	height:26px;
	white-space: nowrap;
	margin:0;
}

button:hover {
	color: #D37EED;
}

button span.before {
	display:inline-block;
	content:' ';
	padding-left:3px;
	height:26px;
	background-image: url("../../img/button/button-grey-left.png");
	background-repeat: no-repeat;
	vertical-align:top;
}

button span.content {
	background-position: 100% 0;
	background-image: url("../../img/button/button-grey-main.png");
	background-repeat: no-repeat;
	padding:0 12px 0 9px;
	height:26px;
	display:inline-block;
	vertical-align:top;
	line-height:25px;
}

button span.content span.btText {
	display:inline;
}

button span.content img {
	margin-right:4px;
	display:inline-block;
	vertical-align:middle;
	background-color:transparent;
	position:relative;
	top:-1px;
}

@-moz-document url-prefix() {
	button span.content img {
		top:0;
	}

	button span.before{
		margin-left:-3px;
	}

	.btContainer {
		position:relative;
	}

	.btContainer.disabled:before {
		display: block;
		position: absolute;
		z-index: 100;
		height:20px;
		width:100%;
		margin-top: -2px;
		content: ' ';
		opacity: 0.0001;
		background-color:white;
		top:0;
	}
}

button.disabled span.content img.enabledImg, button span.content img.disabledImg {
	display:none;
}

button span.content img.enabledImg, button.disabled span.content img.disabledImg {
	display:inline-block;
}

/* Small buttons */
button.small {
	height: 20px;
	max-height: 20px;
	min-width: 50px;
	font-size: 11px;
	font-weight: normal;
}

button.small span.before {
	height:20px;
	background-image: url("../../img/button/button-grey-small-left.png");
	background-repeat: no-repeat;
}

button.small span.content {
	background-image: url("../../img/button/button-grey-small-main.png");
	line-height:18px;
}

button.small span.content img {
	position:static;
}

/* Disabled buttons */
button.disabled {
	cursor: default;
}

button.disabled {
	color: #aaaaaa;
}